package com.seed.auth;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.seed.auth.service.UserService;


public class ManTest {
    
    private static ApplicationContext ctx;
    
    public static void main(String[] args) {
        ctx = new ClassPathXmlApplicationContext("applicationContext.xml");
        UserService man = (UserService) ctx.getBean("man");
        man.findByUsername("y");
    }
}
